import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'


Vue.config.productionTip = false

Vue.prototype.$axios = axios;
Vue.prototype.$bus = new Vue();

//创建虚拟DOM
let vm = new Vue({
  router,
  store,
  render: h => h(App) //把App.vue组件添加到虚拟DOM中
});
vm.$mount('#app');  //将虚拟DOM实体化并挂载到index.html文件中#app所对应的元素中。
